package com.lx.springmvcproject2.dto;

import com.lx.springmvcproject2.entity.Goods;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.time.LocalDateTime;
import java.util.List;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Accessors(chain = true)
public class OrderDto {

    private Integer oid;

    /**
     * 创建时间
     */
    private LocalDateTime created;

    /**
     * 订单描述
     */
    private String orderdesc;

    /**
     * 用户名
     */
    private String username;

    /**
     * 性别
     */
    private String sex;

    /**
     * 电话
     */
    private String tel;

    private List<Goods> goodsList;
}
